package o;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.huawei.appgallery.forum.operation.report.activity.ReportActivity;

public class bxw {
    public static void ˊ(final Context context, final bxv o_bxv) {
        if (o_bxv != null && (context instanceof Activity) && o_bxv.ʼ() != -1 && o_bxv.ʻ() != -1) {
            ((cbh) fho.ˏ().ˋ("User").ॱ(cbh.class)).ˎ(context, 9).ˏ(new fjq<Boolean>() {
                public void onComplete(fjo<Boolean> o_fjo_java_lang_Boolean) {
                    if (o_fjo_java_lang_Boolean.ˊ() && ((Boolean) o_fjo_java_lang_Boolean.ॱ()).booleanValue()) {
                        Intent intent = new Intent();
                        Bundle bundle = new Bundle();
                        bundle.putSerializable("reportContentInfo", o_bxv);
                        intent.putExtras(bundle);
                        intent.setClass(context, ReportActivity.class);
                        context.startActivity(intent);
                    }
                }
            });
        }
    }
}
